home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / pmake / prefix / sunrpc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-15  |  1.5 KB  |  52 lines

  1. /***********************************************************************
  2.  *
  3.  * PROJECT:      PMake
  4.  * MODULE:      Prefix -- Sun RPC Implementation
  5.  * FILE:      sunrpc.c
  6.  *
  7.  * AUTHOR:        Adam de Boor: Aug 23, 1989
  8.  *
  9.  * ROUTINES:
  10.  *    Name              Description
  11.  *    ----              -----------
  12.  *
  13.  * REVISION HISTORY:
  14.  *    Date      Name        Description
  15.  *    ----      ----        -----------
  16.  *    8/23/89      ardeb        Initial version
  17.  *
  18.  * DESCRIPTION:
  19.  *    Header file for Sun RPC implementation based on Customs RPC
  20.  *    
  21.  *     Copyright (c) Berkeley Softworks 1989
  22.  *     Copyright (c) Adam de Boor 1989
  23.  *
  24.  *     Permission to use, copy, modify, and distribute this
  25.  *     software and its documentation for any non-commercial purpose
  26.  *    and without fee is hereby granted, provided that the above copyright
  27.  *     notice appears in all copies.  Neither Berkeley Softworks nor
  28.  *     Adam de Boor makes any representations about the suitability of this
  29.  *     software for any purpose.  It is provided "as is" without
  30.  *     express or implied warranty.
  31.  *
  32.  ***********************************************************************/
  33.  
  34. #ifndef _SUNRPC_H_
  35. #define _SUNRPC_H_
  36.  
  37. extern void             SunRpc_ServerCreate();
  38. extern void             SunRpc_ServerDelete();
  39. extern enum clnt_stat    SunRpc_Call();
  40. extern int              SunRpc_MsgStream();
  41. extern unsigned long    SunRpc_MsgProg();
  42. extern unsigned long    SunRpc_MsgProc();
  43. extern struct opaque_auth *SunRpc_MsgRawCred();
  44. extern caddr_t            SunRpc_MsgCred();
  45.  
  46. /*
  47.  * Code returned if server doesn't wish to respond to a call
  48.  */
  49. #define SUNRPC_DONTRESPOND    ((enum clnt_stat)-1)
  50.  
  51. #endif /* _SUNRPC_H_ */
  52.